package org.fdy.bgadmin.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 构建前端路由时用到
 * @author fangdy
 * @create 2023-10-22 17:14
 */
@Data
public class MenuRes {
    private Long id;

    @ApiModelProperty(name = "pid" , value = "上级菜单ID")
    private Long pid;


    @ApiModelProperty(name = "title" , value = "菜单标题")
    private String title;

    private String name;

    private String path;

    private Boolean hidden;

    private String redirect;

    private String component;

    private Boolean alwaysShow;

    private MenuMetaVo meta;


    private List<MenuRes> children;
}
